package com.zjsd.sqeybusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业产品信息对象 product_info
 *
 * @author Zheng
 * @date 2020-11-05
 */
public class ProductInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Long productId;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long companyId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 企业产品分类 */
    @Excel(name = "企业产品分类")
    private Integer category;

    /** 平台产品分类 */
    @Excel(name = "平台产品分类")
    private Integer platformCategory;

    /** 产品介绍 */
    @Excel(name = "产品介绍")
    private String introduction;

    /** 提供支持 */
    @Excel(name = "提供支持")
    private String support;

    /** 代理要求 */
    @Excel(name = "代理要求")
    private String regulation;

    /** 商品图片1 */
    @Excel(name = "商品图片1")
    private String image1;

    /** 商品图片2 */
    @Excel(name = "商品图片2")
    private String image2;

    /** 商品图片3 */
    @Excel(name = "商品图片3")
    private String image3;

    /** 商品图片4 */
    @Excel(name = "商品图片4")
    private String image4;

    /** 商品图片5 */
    @Excel(name = "商品图片5")
    private String image5;

    /** 商品图片6 */
    @Excel(name = "商品图片6")
    private String image6;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 上架状态[1上架2下架] */
    @Excel(name = "上架状态[1上架2下架]")
    private String shelvesStatus;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Integer pageViews;

    private Long deptId ;

    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }


    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setSupport(String support)
    {
        this.support = support;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getPlatformCategory() {
        return platformCategory;
    }

    public void setPlatformCategory(Integer platformCategory) {
        this.platformCategory = platformCategory;
    }

    public String getSupport()
    {
        return support;
    }

    public void setImage1(String image1)
    {
        this.image1 = image1;
    }

    public String getImage1()
    {
        return image1;
    }
    public void setImage2(String image2)
    {
        this.image2 = image2;
    }

    public String getImage2()
    {
        return image2;
    }
    public void setImage3(String image3)
    {
        this.image3 = image3;
    }

    public String getImage3()
    {
        return image3;
    }
    public void setImage4(String image4)
    {
        this.image4 = image4;
    }

    public String getImage4()
    {
        return image4;
    }
    public void setImage5(String image5)
    {
        this.image5 = image5;
    }

    public String getImage5()
    {
        return image5;
    }
    public void setImage6(String image6)
    {
        this.image6 = image6;
    }

    public String getImage6()
    {
        return image6;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setShelvesStatus(String shelvesStatus)
    {
        this.shelvesStatus = shelvesStatus;
    }

    public String getShelvesStatus()
    {
        return shelvesStatus;
    }
    public void setPageViews(Integer pageViews)
    {
        this.pageViews = pageViews;
    }

    public Integer getPageViews()
    {
        return pageViews;
    }

    public String getRegulation() {
        return regulation;
    }

    public void setRegulation(String regulation) {
        this.regulation = regulation;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("companyId", getCompanyId())
            .append("name", getName())
            .append("category", getCategory())
            .append("platformCategory", getPlatformCategory())
            .append("introduction", getIntroduction())
            .append("support", getSupport())
            .append("regulation", getRegulation())
            .append("image1", getImage1())
            .append("image2", getImage2())
            .append("image3", getImage3())
            .append("image4", getImage4())
            .append("image5", getImage5())
            .append("image6", getImage6())
            .append("sort", getSort())
            .append("shelvesStatus", getShelvesStatus())
            .append("pageViews", getPageViews())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
                .append("deptId",getDeptId())
            .toString();
    }
}
